﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;

namespace shop.Model
{
    //[FreeSql.DataAnnotations.Table(DisableSyncStructure = true)]
    public class IdTemp
    {
        //[Column()]
        public int Id { get; set; } 

        public string Name { get; set; }    
    }

    //[FreeSql.DataAnnotations.Table(DisableSyncStructure = true)]
    public class IntTemp
    {
        public int Id { get; set; }

        public IntTemp(int id)
        {
            Id = id;
        }
    }

    //[FreeSql.DataAnnotations.Table(DisableSyncStructure = true)]
    public class StrTemp
    {
        public StrTemp(string code)
        {
            Code = code;
        }

        public string Code { get; set; }
    }



    public class StrTemp2
    {
        public StrTemp2(string code, string name)
        {
            Code = code;
            Name= name;
        }

        public string Code { get; set; }
        public string Name { get; set; }
    }

}
